#include "cpp20220505_59_exp21_client.h"
#include <iostream>
using namespace std;

int Client::ClientNum = 0;
char Client::ServerName = 'A';  // static member

int main()
{
    Client c1;
    c1.ChangeServerName('B');   // call member function
    cout<<"ClientNum="<<c1.getClientNum()<<endl;
    cout<<"ServerName="<<c1.ChangeServerName('B')<<endl;
    Client c2;
    c2.ChangeServerName('C');   // call member function
    cout<<"ClientNum="<<c2.getClientNum()<<endl;
    cout<<"ServerName="<<c2.ChangeServerName('D')<<endl;
    return 0;

}